# -*- coding=utf-8 -*-
import requests

def main():
    html = requests.get('http://www.baidu.com', params={'wd':'python'})
    print(html.url)

if __name__ == '__main__':
    main()
